package com.basement.model;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name="STORAGE")
public class BsmntStorage {

	
	@Id
	private Long id;

    private String storageName;
    private Date creationDate;
    private String description;

	public BsmntStorage() {
		// this form used by Hibernate
	}

	public BsmntStorage(String storageName, Date creationDate, String description) {
		// for application use, to create new events
		this.storageName = storageName;
		this.creationDate = creationDate;
		this.description = description;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getStorageName() {
		return storageName;
	}

	public void setStorageName(String storageName) {
		this.storageName = storageName;
	}

	public Date getCreationDate() {
		return creationDate;
	}

	public void setCreationDate(Date creationDate) {
		this.creationDate = creationDate;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
}
